package com.y.ari.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.y.ari.dto.OrdersSelDTO;
import com.y.ari.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单信息 Mapper 接口
 * </p>
 *
 * @author itcast
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    List<OrdersSelDTO> selOrders(Long id);

    List<OrdersSelDTO> selOrdersM(@Param("offset") Long offset, @Param("pageSize") Long pageSize);
}
